package com.dimong.loan.sdk.db.modal;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;

import java.io.Serializable;

public class BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final String FIELD_NAME_ID = "id";

    @DatabaseField(columnName = FIELD_NAME_ID, generatedId = true, dataType = DataType.INTEGER)
    public int id;

    protected BaseModel() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}